package com.darksider.darkotlin.net

import com.darksider.darkotlin.bean.CarResult
import io.reactivex.Flowable
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST

/**
 * User: yaodong(1126220529@qq.com)
 * Date: 2017-05-26
 * Time: 12:52
 * Description:
 * Update:
 */  
interface Api {

    @FormUrlEncoded
    @POST("info/QueryCars/")
    fun getAllCar(@Field("Lng") Lng: String,
                  @Field("Lat") Lat: String,
                  @Field("Radius") Radius: String):Flowable<CarResult>

}